import {createStore} from "vuex"
import ruleStore from "./ruleStore"
import layout  from "./layout"
const actions=Object.assign(layout.actions,ruleStore.actions)
export default createStore( {
    actions,
    modules:{
        // 注入全局的权限管理路由
        ruleStore,
        layout
    }
})